﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using NC.Infrastructure.DomainDto;
using domainEntity=NC.Infrastructure.Domain.Identity.Person;

namespace NC.Service.Person
{
    public interface IPersonService:IService
    {
        domainEntity Get(int id);

        IQueryable<domainEntity> GetAll();

        IQueryable<domainEntity> Get(Expression<Func<domainEntity, bool>> filter);

        void Insert(domainEntity entity);

        void Update(domainEntity entity);

        void Delete(domainEntity entity);

        IQueryable<SimpleDto> SimpleDtos();

        IQueryable<Cather.Target> GetTargets(int personId);
    }
}
